package cn.echase.ecare.yinfayun.domain.mapper;

import cn.echase.ecare.yinfayun.domain.entity.Building;
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BuildingMapper extends BaseMapperPlus<Building, Building> {

    @Override
    @InterceptorIgnore(tenantLine = "true", dataPermission = "false")
    List<Building> selectList(@Param(Constants.WRAPPER) Wrapper<Building> queryWrapper);

}
